Updates
This commit is contained in:
@@ -4,9 +4,9 @@ import parseClientCookies from "../utils/parseClientCookies";
|
||||
* ===============================================================================
|
||||
* @description This function uses google identity api to login a user with datasquirel
|
||||
*/
|
||||
export default async function logout(
|
||||
params: { [s: string]: any } | null
|
||||
): Promise<boolean> {
|
||||
export default async function logout(params?: {
|
||||
googleClientId?: any;
|
||||
}): Promise<boolean> {
|
||||
try {
|
||||
const localUser = localStorage.getItem("user");
|
||||
let targetUser;
|
||||
|
||||
Reference in New Issue
Block a user