Ignored last_seen_at in BREAD service

refs https://github.com/TryGhost/Members/commit/8a40d8e76

This is needed so that the API cannot edit this read only field.
This commit is contained in:
Fabien "egg" O'Carroll 2022-05-02 19:09:47 +01:00
parent 8a40d8e76b
commit 4bda71e464

View File

@ -288,6 +288,8 @@ module.exports = class MemberBREADService {
delete data.newsletters;
}
delete data.last_seen_at;
let model;
try {