fix: admin courses
This commit is contained in:
@@ -45,7 +45,7 @@ register('GET', endpoints.me, () => ({
|
||||
data: currentMe,
|
||||
}))
|
||||
|
||||
register('PUT', endpoints.updateProfile, ({ data }) => {
|
||||
register('PATCH', endpoints.updateProfile, ({ data }) => {
|
||||
Object.assign(currentMe, {
|
||||
name: data.name ?? currentMe.name,
|
||||
email: data.email ?? currentMe.email,
|
||||
|
||||
Reference in New Issue
Block a user