mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
Rename document role to permission
This commit is contained in:
parent
93b95b9eca
commit
ad3f406876
5 changed files with 9 additions and 14 deletions
|
@ -1,13 +0,0 @@
|
|||
import ApplicationSerializer from './application';
|
||||
|
||||
export default ApplicationSerializer.extend({
|
||||
normalize(modelClass, resourceHash) {
|
||||
return {
|
||||
data: {
|
||||
id: resourceHash.userId ? resourceHash.userId : 0,
|
||||
type: modelClass.modelName,
|
||||
attributes: resourceHash
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue