(ctx context.Context, id string)
| 1241 | } |
| 1242 | |
| 1243 | func (c *connection) DeleteUserAuthToken(ctx context.Context, id string) error { |
| 1244 | res, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM user_auth_tokens WHERE id=$1", id) |
| 1245 | return checkDeleteRow("auth token", res, err) |
| 1246 | } |
| 1247 | |
| 1248 | func (c *connection) DeleteAllUserAuthTokens(ctx context.Context, userID string) (int, error) { |
| 1249 | qry := "DELETE FROM user_auth_tokens WHERE user_id=$1" |
nothing calls this directly
no test coverage detected