Tests[CompatRegisterPro]

This commit is contained in:
2023-01-17 22:03:27 +01:00
parent 7fcd324299
commit 23c7729fcf
5 changed files with 65 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ func (h APIHandler) CreateUser(g *gin.Context) ginresp.HTTPResponse {
if b.ProToken != nil {
err := h.database.ClearProTokens(ctx, *b.ProToken)
if err != nil {
return ginresp.APIError(g, 500, apierr.DATABASE_ERROR, "Failed to clear existing fcm tokens", err)
return ginresp.APIError(g, 500, apierr.DATABASE_ERROR, "Failed to clear existing pro tokens", err)
}
}