Skip to content

Commit

Permalink
Correct spelling from 'attendence' to 'attendance'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Misterblue committed Feb 4, 2021
1 parent e0148fb commit 585f0ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Entities/PlaceEntity.ts
Expand Up @@ -30,8 +30,8 @@ export class PlaceEntity implements Entity {
public images: string[]; // images for the place

// A Place can have a beacon that updates current state and information
// If current information is not supplied, attendence defaults to domain's
public currentAttendence: number // current attendence at the Place
// If current information is not supplied, attendance defaults to domain's
public currentAttendance: number // current attendance at the Place
public currentImages: string[] // images at the session
public currentInfo: string // JSON information about the session
public currentLastUpdateTime: Date // time that the last session information was updated
Expand Down
2 changes: 1 addition & 1 deletion src/Entities/PlaceFields.ts
Expand Up @@ -177,7 +177,7 @@ export const placeFields: { [key: string]: FieldDefn } = {
getter: simpleGetter
},
'current_attendance': {
entity_field: 'currentAttendence',
entity_field: 'currentAttendance',
request_field_name: 'current_attendance',
get_permissions: [ Perm.ALL ],
set_permissions: [ Perm.DOMAINACCESS, Perm.ADMIN ],
Expand Down

0 comments on commit 585f0ed

Please sign in to comment.